<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>后台管理系统</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    {load href="/static/css/bootstrap.css" /}
    {load href="/static/css/theme.css" /}
    {load href="/static/css/font-awesome.css" /}
    {load href="/static/js/jquery-1.7.2.min.js" /}
   
    <!-- Demo page code -->

    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .brand { font-family: georgia, serif; }
        .brand .first {
            color: #ccc;
            font-style: italic;
        }
        .brand .second {
            color: #fff;
            font-weight: bold;
        }
        .pagination li{
            float:left;
            list-style: none;
            margin-left:5px;

        }
        .pagination li a{
            color:red;
            text-decoration: none
        }
        .pagination li.active{
            color:blue;
        }
        .pager li{
            float:left;
            list-style: none;
        }
        ul[class=pagination]{
             margin-left:380px;
        }
        .row-fluid{
            margin-top:20px;
        }
    </style>
    <link rel="shortcut icon" href="../assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
  </head>
  <body class="">  
  {include file="public:header"}
  {include file="public:left"}
    <div class="content">
        
        <div class="header">
          <div class="stats">
          <p class="stat"><span class="number" id="date"></span>日</p>
          <p class="stat"><span class="number" id="month"></span>月</p>
          <p class="stat"><span class="number" id="year"></span>年</p>
      </div>

            <h1 class="page-title">贴吧管理</h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="url('/admin/index/index')">{:request()->controller()}</a> <span class="divider">/</span></li>
            <li class="active">{:request()->action()}</li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
              <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
               <tbody>
                   <tr>
                       <td height="28" colspan="5" background="http://localhost/test/public/static/img/allbg.gif">
                          <table width="96%" border="0" cellspacing="1" cellpadding="1">
                             <tbody>
                                 <tr>
                                     <td width="24%" style="padding-left: 10px;">
                                         <b>发帖列表</b>
                                     </td>
                                 </tr>
                             </tbody> 
                          </table> 
                       </td>
                   </tr>
                   <tr bgcolor="#FBFCE2" align="center">
                       <td width="8%" height=24>id</td>
                       <td width="12%">帖子名称</td>
                       <td width="20%">帖子内容</td>
                       <td width="15%">发帖人</td>
                        <td width="15%">发帖时间</td>
                   </tr>
                   {if condition="$a==1"}
                  {volist id="v" name="uname" key="i"}
                      <tr bgcolor="#FFFFFF" align="center" heigh="26" onmousemove="javascript:this.bgColor='#FCFDEF';" onmouseout="javascript:this.bgColor='#FFFFFF';">
                       <td width="8%" height=24>{$list++}</td>
                       <td width="12%">{$title[$i-1]}</td>
                       <td width="20%"> 
                         <textarea  rows="3" cols="20" style="border:0px">  {$content[$i-1]}
                         </textarea>
                       </td>
                       <td width="15%">{$uname[$i-1]}</td>
                        <td width="15%">{$time[$i-1]}</td>
                    </tr>
                  {/volist}
                     <tr bgcolor="#F9FCEF" >
                        <td colspan="5" align="center">
                          <span>共{$pagenum}页/{$num}条记录</span>
                        </td>
                    </tr>   
               </tbody>
           </table> 
           {$page}
           {elseif condition="$a==2"}
           <tr bgcolor="#F9FCEF" >
                        <td colspan="5" align="center">
                          <span>共0页/0条记录</span>
                        </td>
                    </tr>
                </tbody>
             </table> 
           {/if}
           
                  {include file='public:footer'}
            </div>
        </div>
    </div>
     {load href="/static/js/mymyjs.js"}
   {load href="/static/js/bootstrap.js" /}
    <script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            $('.demo-cancel-click').click(function(){return false;});
        });
    </script>
    
  </body>
</html>


